home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
umich
/
utils
/
whichsrc.arc
/
README
< prev
next >
Wrap
Text File
|
1990-03-20
|
711b
|
18 lines
This is an ST adaptation of a "which" program somone posted to
net.sources many years ago to replace the agonisingly slow
BSD "which" script with a program. I've used it on our un*x
system for years, and finally decided I couldn't do without
it on the ST any longer.. Anyway, here it is (with source,
its trivial enough.) To use it just say
% which haha
and it'll add in the ".prg" or ".tos" or ".ttp" while checking for the file.
(it'll look for all three.) It works with the Mark Williams C "msh" PATH,
but you can easily modify it for your favourite shell, just change the comma
in the #define for DELIMETERat the top to whatever the delimeter is for
the PATH in your shell.
-ravi
(ravi@mcnc.org)